// 基于template/src/views/{{appModules}}/{{pages@DEGRIDVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IGridViewModel } from "@/core/interface/view/model";

function getModel(): IGridViewModel {
    return {
        caption: "账户",
        title: "账户表格视图",
        capPSLanguageRes: "DE.LNAME.IBIZACCOUNT",
        titlePSLanguageRes: "PAGE.TITLE.IBIZACCOUNT.GRIDVIEW",
        showDataInfoBar: false,
        codeName: 'IBIZAccountGridView',
        uiEngineModel: [
                    {
                        name: 'toolbar_tbitem3_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem3',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'New',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_deuiaction2_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'deuiaction2',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Save',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem4_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem4',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Edit',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem6_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem6',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Copy',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_deuiaction3_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'deuiaction3',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ToggleFilter',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem24_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem24',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ToggleRowEdit',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem25_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem25',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'NewRow',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem8_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem8',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Remove',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem13_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem13',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ExportExcel',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_deuiaction1_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'deuiaction1',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ImportExcel',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem11_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem11',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Print',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem21_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem21',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'ExportModel',
                        entityCodeName: '',
                    },
                    {
                        name: 'toolbar_tbitem23_click',
                        triggerType: 'CTRLEVENT',
                        logicType: 'APPVIEWUIACTION',
                        eventNames: 'CLICK',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: 'tbitem23',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: 'toolbar',
                        uIActionTag: 'Import',
                        entityCodeName: '',
                    },
                    {
                        name: 'newdata',
                        triggerType: 'CUSTOM',
                        logicType: 'SYSUILOGIC',
                        eventNames: '',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: '',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: '',
                        entityCodeName: '',
                    },
                    {
                        name: 'opendata',
                        triggerType: 'CUSTOM',
                        logicType: 'SYSUILOGIC',
                        eventNames: '',
                        scriptCode: ``,
                        logicName:``,
                        logicTag: '',
                        eventArg: '',
                        eventArg2: '',
                        timer: 0,
                        psViewCtrlName: '',
                        entityCodeName: '',
                    }
            ],
        ctrls: [
            {
                name: 'grid',
                codeName: 'Main',
                controlType: 'GRID',
            },
            {
                name: 'toolbar',
                codeName: 'GridViewtoolbar',
                controlType: 'TOOLBAR',
            },
            {
                name: 'searchform',
                codeName: 'Default',
                controlType: 'SEARCHFORM',
            }
        ],
        ctrlParams: {
            IBIZAccountgrid: {},
            IBIZAccounttoolbar: {},
            IBIZAccountsearchform: {},
        },
        cssName: "",
        name: "IBIZAccountGridView",
        viewType: "DEGRIDVIEW",
        viewStyle: "nocapt",
        showCaption: true,
        isLoadDefault: true,
        entityCodeName: "IBIZAccount",
        keyPSAppDEField: "IBIZAccountId",
        majorPSAppDEField: "IBIZAccountName",
        enableQuickSearch: true,
        expandSearchForm:false,
        newData: {
            deCodeName: 'IBIZAccount',
            newDataViewName: 'IBIZAccountEditView',
        },
        openData: {
            deCodeName: 'IBIZAccount',
            openDataViewName: 'IBIZAccountEditView',
        },
        toolbarItems: [
            {
          		actionLevel: '100',
          		caption: '新建',
          		captionLanResTag: 'TBB.TEXT.*.NEW',
          		name: 'tbitem3',
          		showCaption: true,
          		tooltip: '新建',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.NEW',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: 'deepskyblue-toolbar',
          		imagePath: '',
          		iconCls: 'fa fa-file-text-o',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'New',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'New',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem3_click',
                  	actionTag: 'New',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'EDITVIEW_NEWACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '保存',
          		captionLanResTag: 'TBB.TEXT.*.SAVE',
          		name: 'deuiaction2',
          		showCaption: true,
          		tooltip: '保存',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.SAVE',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-save',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Save',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'Save',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_deuiaction2_click',
                  	actionTag: 'Save',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'EDITVIEW_SAVEACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '编辑',
          		captionLanResTag: 'TBB.TEXT.*.EDIT',
          		name: 'tbitem4',
          		showCaption: true,
          		tooltip: '编辑',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.EDIT',
          		itemType: 'DEUIACTION',
          		showIcon: false,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-edit',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Edit',
          			uIActionMode: 'SYS',
          			actionTarget: 'SINGLEKEY',
          			uIActionTag: 'Edit',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem4_click',
                  	actionTag: 'Edit',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'GRIDVIEW_EDITACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '拷贝',
          		captionLanResTag: 'TBB.TEXT.*.COPY',
          		name: 'tbitem6',
          		showCaption: true,
          		tooltip: '拷贝',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.COPY',
          		itemType: 'DEUIACTION',
          		showIcon: false,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-copy',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Copy',
          			uIActionMode: 'SYS',
          			actionTarget: 'SINGLEKEY',
          			uIActionTag: 'Copy',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem6_click',
                  	actionTag: 'Copy',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'GRIDVIEW_COPYACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '过滤',
          		captionLanResTag: 'TBB.TEXT.*.FILTER',
          		name: 'deuiaction3',
          		showCaption: true,
          		tooltip: '过滤',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.FILTER',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-filter',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'ToggleFilter',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'ToggleFilter',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_deuiaction3_click',
                  	actionTag: 'ToggleFilter',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'GRIDVIEW_SEARCHBAR',
                  }
            },
            {
          		name: 'tbitem7',
          		itemType: 'SEPERATOR',
            },
            {
          		actionLevel: '100',
          		caption: '删除',
          		captionLanResTag: 'TBB.TEXT.*.REMOVE',
          		name: 'tbitem8',
          		showCaption: true,
          		tooltip: '删除',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.REMOVE',
          		itemType: 'DEUIACTION',
          		showIcon: false,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-remove',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Remove',
          			uIActionMode: 'SYS',
          			actionTarget: 'MULTIKEY',
          			uIActionTag: 'Remove',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem8_click',
                  	actionTag: 'Remove',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'GRIDVIEW_REMOVEACTION',
                  }
            },
            {
          		name: 'tbitem9',
          		itemType: 'SEPERATOR',
            },
            {
          		actionLevel: '100',
          		caption: '导出',
          		captionLanResTag: 'TBB.TEXT.*.EXPORT',
          		name: 'tbitem13',
          		showCaption: true,
          		tooltip: '导出',
          		tooltipLanResTag: 'TBB.TOOLTIP.*.EXPORT',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-file-excel-o',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'ExportExcel',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'ExportExcel',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem13_click',
                  	actionTag: 'ExportExcel',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'GRIDVIEW_EXPORTACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '导入',
          		captionLanResTag: '',
          		name: 'deuiaction1',
          		showCaption: true,
          		tooltip: '导入',
          		tooltipLanResTag: '',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-upload',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'ImportExcel',
          			uIActionMode: 'FRONT',
          			actionTarget: 'NONE',
          			uIActionTag: 'ImportExcel',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_deuiaction1_click',
                  	actionTag: 'ImportExcel',
                  	xDataCtrlName: 'grid',
                  	predefinedType: '',
                  }
            },
            {
          		name: 'tbitem10',
          		itemType: 'SEPERATOR',
            },
            {
          		actionLevel: '',
          		caption: '其它',
          		captionLanResTag: '',
          		name: 'tbitem16',
          		showCaption: true,
          		tooltip: '其它',
          		tooltipLanResTag: '',
          		itemType: 'ITEMS',
          		showIcon: true,
          		disabled: false,
                  visible: true,
          		dataAccessAction: '',
          		items: [  {
          		actionLevel: '100',
          		caption: '导出数据模型',
          		captionLanResTag: 'MENUITEM.CAPTION.*.EXPORTSRF',
          		name: 'tbitem21',
          		showCaption: true,
          		tooltip: '导出数据模型',
          		tooltipLanResTag: '',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-download',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'ExportModel',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'ExportModel',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem21_click',
                  	actionTag: 'ExportModel',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'GRIDVIEW_EXPORTXMLACTION',
                  }
            },
            {
          		actionLevel: '100',
          		caption: '数据导入',
          		captionLanResTag: '',
          		name: 'tbitem23',
          		showCaption: true,
          		tooltip: '数据导入',
          		tooltipLanResTag: '',
          		itemType: 'DEUIACTION',
          		showIcon: true,
          		disabled: false,
          		cssName: '',
          		imagePath: '',
          		iconCls: 'fa fa-upload',
                  imagePathX: '',
          		dataAccessAction: '',
          		noPrivDisplayMode: 2,
          		uiAction: {
          			codeName: 'Import',
          			uIActionMode: 'SYS',
          			actionTarget: '',
          			uIActionTag: 'Import',
          			uIActionType: 'DEUIACTION'
          		},
                  logic: {
                  	name: 'toolbar_tbitem23_click',
                  	actionTag: 'Import',
                  	xDataCtrlName: 'grid',
                  	predefinedType: 'GRIDVIEW_IMPORTBAR',
                  }
            },
          ]
            },
        ],
        toolbarLogics: [
            ]     ,
        xDataCtrlName: "grid",
        quickSearchPlaceholder: ['账户名称',].join(","),
        useDefaultLayout: false,
        layoutMode: "TABLE_24COL",
        rootLayoutDetailNames: ["container_scroll1"],
        layoutItems: {
          container_scroll1: {
              name: "container_scroll1",
              type: "VIEWLAYOUT",
              caption: "滚动条容器",
              titleBarCloseMode: 0,
              isShowCaption: false,
              sysCss: "",
              itemType: "CONTAINER",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "BORDER",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 0,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              details: ["container_scroll_main1","container_scroll_header1"],
              dataRegionType: "INHERIT",
              dataSourceType: "",
          },
          container_scroll_main1: {
              name: "container_scroll_main1",
              type: "VIEWLAYOUT",
              caption: "面板容器",
              titleBarCloseMode: 0,
              isShowCaption: true,
              sysCss: "",
              itemType: "CONTAINER",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "BORDER",
              layoutPos: "CENTER",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 0,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container_scroll1",
              details: ["searchform","grid"],
              dataRegionType: "INHERIT",
              dataSourceType: "",
          },
          searchform: {
              name: "searchform",
              type: "VIEWLAYOUT",
              caption: "搜索表单",
              titleBarCloseMode: 0,
              isShowCaption: true,
              sysCss: "",
              itemType: "CTRLPOS",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "",
              layoutPos: "CENTER",
              layoutHeight: 60,
              layoutWidth: 0,
              heightMode: "PX",
              widthMode: "FULL",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 0,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container_scroll_main1",
          },
          
          grid: {
              name: "grid",
              type: "VIEWLAYOUT",
              caption: "表格",
              titleBarCloseMode: 0,
              isShowCaption: true,
              sysCss: "",
              itemType: "CTRLPOS",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "",
              layoutPos: "CENTER",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 0,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container_scroll_main1",
          },
          
          
          container_scroll_header1: {
              name: "container_scroll_header1",
              type: "VIEWLAYOUT",
              caption: "面板容器",
              titleBarCloseMode: 0,
              isShowCaption: true,
              sysCss: "",
              itemType: "CONTAINER",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "BORDER",
              layoutPos: "NORTH",
              layoutHeight: 50,
              layoutWidth: 0,
              heightMode: "PX",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 0,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container_scroll1",
              details: ["container_grid1"],
              dataRegionType: "INHERIT",
              dataSourceType: "",
          },
          container_grid1: {
              name: "container_grid1",
              type: "VIEWLAYOUT",
              caption: "栅格容器",
              titleBarCloseMode: 0,
              isShowCaption: false,
              sysCss: "",
              itemType: "CONTAINER",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "SIMPLEFLEX",
              layoutPos: "CENTER",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 0,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container_scroll_header1",
              details: ["container1","container3","container2"],
              dataRegionType: "INHERIT",
              dataSourceType: "",
          },
          container1: {
              name: "container1",
              type: "VIEWLAYOUT",
              caption: "面板容器",
              titleBarCloseMode: 0,
              isShowCaption: false,
              sysCss: "",
              itemType: "CONTAINER",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "SIMPLEFLEX",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 3,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container_grid1",
              details: ["view_pagecaption"],
              dataRegionType: "INHERIT",
              dataSourceType: "",
          },
          view_pagecaption: {
              name: "view_pagecaption",
              type: "VIEWLAYOUT",
              caption: "页面标题",
              titleBarCloseMode: 0,
              isShowCaption: false,
              sysCss: "",
              itemType: "FIELD",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "LEFT",
              vAlignSelf: "MIDDLE",
              userTag:'',
              userTag2:'',
              flexGrow: -1,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container1",
              required: false,
              dataItemName: "",
              predefinedType: "VIEW_PAGECAPTION",
              editorDynaClass: "",
              renderMode: "HEADING1",
              wrapMode: "NOWRAP",
              vAlign: "MIDDLE",
              hAlign: "LEFT",
          },
          
          
          container3: {
              name: "container3",
              type: "VIEWLAYOUT",
              caption: "面板容器",
              titleBarCloseMode: 0,
              isShowCaption: false,
              sysCss: "",
              itemType: "CONTAINER",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "SIMPLEFLEX",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 2,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container_grid1",
              details: ["quicksearchbar"],
              dataRegionType: "INHERIT",
              dataSourceType: "",
          },
          quicksearchbar: {
              name: "quicksearchbar",
              type: "VIEWLAYOUT",
              caption: "QUICKSEARCHBAR部件",
              titleBarCloseMode: 0,
              isShowCaption: true,
              sysCss: "",
              itemType: "CTRLPOS",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "RIGHT",
              vAlignSelf: "MIDDLE",
              userTag:'',
              userTag2:'',
              flexGrow: -1,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container3",
          },
          
          
          container2: {
              name: "container2",
              type: "VIEWLAYOUT",
              caption: "面板容器",
              titleBarCloseMode: 0,
              isShowCaption: false,
              sysCss: "",
              itemType: "CONTAINER",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "SIMPLEFLEX",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "",
              vAlignSelf: "",
              userTag:'',
              userTag2:'',
              flexGrow: 7,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container_grid1",
              details: ["toolbar"],
              dataRegionType: "INHERIT",
              dataSourceType: "",
          },
          toolbar: {
              name: "toolbar",
              type: "VIEWLAYOUT",
              caption: "工具栏",
              titleBarCloseMode: 0,
              isShowCaption: true,
              sysCss: "",
              itemType: "CTRLPOS",    
              codeName: "",
              itemStyle: "DEFAULT",
              dynaClass: "",
              labelDynaClass: "",
              labelCssStyle: "",
              visible: true,
              disabled: false,
              layout: "",
              layoutPos: "",
              layoutHeight: 0,
              layoutWidth: 0,
              heightMode: "",
              widthMode: "",
              spacingBottom: "",
              spacingLeft: "",
              spacingRight: "",
              spacingTop: "",
              hAlignSelf: "RIGHT",
              vAlignSelf: "MIDDLE",
              userTag:'',
              userTag2:'',
              flexGrow: -1,
              flexParams: {
                  align: "",
                  dir: "",
                  vAlign: "",
              },
              parentName: "container2",
          },
          
          
          
          
          
        },
        enableRowEdit: false,
        rowActiveMode: 2,
        rowEditDefault: false,
    }
}

export const model = getModel();